﻿using System.Reflection;

namespace Borg
{
    public class CancelRegisterEventArgs : RegisterEventArgs, ICancelEventArgs
    {
        public bool Cancel { get; set; }

        public CancelRegisterEventArgs(SlotInfo slotInfo, PlugTypeInfo plugTypeInfo, Assembly initiator)
            : base(slotInfo, plugTypeInfo, initiator)
        { }
    }

    public delegate void CancelRegisterEventHandler(object sender, CancelRegisterEventArgs args);
}

